From 5e57b3d07aedce30ee3208b62e3b463deb418b84 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 8 Jan 2020 15:59:38 -0500 Subject: [PATCH] testdnd2: Fix the text case We must take mime types into account when checking. --- tests/testdnd2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testdnd2.c b/tests/testdnd2.c index a3b2917b8a..b601ad6bcb 100644 --- a/tests/testdnd2.c +++ b/tests/testdnd2.c @@ -221,6 +221,7 @@ get_data (const char *mimetype, gboolean want_text; formats = gdk_content_formats_new_for_gtype (G_TYPE_STRING); + formats = gdk_content_formats_union_serialize_mime_types (formats); want_text = gdk_content_formats_contain_mime_type (formats, mimetype); gdk_content_formats_unref (formats); -- 2.30.2